Passed
Pull Request — master (#442)
by
unknown
02:41
created

HtmlColumn.getRaw   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
export class HtmlColumn {
2
  public readonly isRaw = true;
3
4
  constructor(private readonly text: string, private readonly html: string) {}
5
6
  public getRaw(): string {
7
    return this.html;
8
  }
9
10
  public toString() {
11
    return this.text;
12
  }
13
}
14